package cc.comac.mom.dao.entity;

import cc.comac.mom.bean.EquipMaintainWorkOrderBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cc.comac.mom.entity.EquipMaintainWorkOrderEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface EquipMaintainWorkOrderDao extends BaseMapper<EquipMaintainWorkOrderEntity>{

    public List<EquipMaintainWorkOrderBean> selectByFields (EquipMaintainWorkOrderBean obj);

    public int selectCountByFields(EquipMaintainWorkOrderBean obj);

    public Date selectMaxPlanDateEnd(@Param(value = "devNumber")String devNumber, @Param(value = "grade")String grade);
}
